package com.chang.bootplus.vo;

import com.chang.bootplus.base.database.Page;
import com.chang.bootplus.entity.Product;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class ProductUnitVO extends Page {

    @ApiModelProperty("商品描述")
    private String message;

    @ApiModelProperty("商品名称")
    private String proname;

    private Long userId;

    @ApiModelProperty("商品所属于的一级分类id")
    private Long categoryIdOne;

    @ApiModelProperty("商品所属于的二级分类id")
    private Long categoryIdTwo;

    @ApiModelProperty("商品所属于的三级分类id")
    private Long categoryIdThree;

    @ApiModelProperty("商品单元所含有的商品")
    private List<ProductVO> list;

    @ApiModelProperty("商品单元的总销量")
    private Integer sellnum;

}

